package gameFlee

import (
	"core/service"
	"framework/remote"
	"game_flee/component/base"
	"game_flee/component/proto"
	"game_flee/models/request"
)

type GameFrame struct {
	r        base.FleeRoomFrame
	gameRule request.GameRule
	logic    *Logic
}

func (g *GameFrame) GetGameData(session *remote.Session) any {
	return nil
}

func (g *GameFrame) StartGame(session *remote.Session, warehouseService *service.WarehouseService) {

}

func (g *GameFrame) GameMessageHandle(user *proto.RoomUser, session *remote.Session, msg []byte) {

}

func NewGameFrame(gameID uint, r base.FleeRoomFrame, gameService *service.GameService) *GameFrame {
	return &GameFrame{
		r: r,
		//gameRule: rule,
		//gameData: gameData,
		logic: NewLogic(gameService, gameID),
	}
}
